package com.member.shop.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.member.shop.domain.SysBizRecharge;

import java.util.List;

/**
 * 充值配置Mapper接口
 *
 * @author lixinchen
 * @date 2024-05-08
 */
public interface SysBizRechargeMapper extends BaseMapper<SysBizRecharge> {
    /**
     * 查询充值配置
     *
     * @param id 充值配置主键
     * @return 充值配置
     */
    public SysBizRecharge selectSysBizRechargeById(Long id);

    /**
     * 查询充值配置列表
     *
     * @param sysBizRecharge 充值配置
     * @return 充值配置集合
     */
    public List<SysBizRecharge> selectSysBizRechargeList(SysBizRecharge sysBizRecharge);

    /**
     * 新增充值配置
     *
     * @param sysBizRecharge 充值配置
     * @return 结果
     */
    public int insertSysBizRecharge(SysBizRecharge sysBizRecharge);

    /**
     * 修改充值配置
     *
     * @param sysBizRecharge 充值配置
     * @return 结果
     */
    public int updateSysBizRecharge(SysBizRecharge sysBizRecharge);

    /**
     * 删除充值配置
     *
     * @param id 充值配置主键
     * @return 结果
     */
    public int deleteSysBizRechargeById(Long id);

    /**
     * 批量删除充值配置
     *
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteSysBizRechargeByIds(Long[] ids);
}